package com.bootdo.common.utils;

import java.io.Serializable;
import java.util.List;

/**
 * @Author bootdo 1992lcg@163.com
 */
public class  PageUtils implements Serializable {
	private static final long serialVersionUID = 1L;
	private int total;
	private long money;
	private List<?> rows;
	private List<?> prows;

	public PageUtils(List<?> list, int total) {
		this.rows = list;
		this.total = total;
	}
	
	public PageUtils(List<?> list){
		this.rows = list;	
	}
	
	public PageUtils(List<?> list,List<?> plist){
		this.rows = list;
		this.prows =plist;
	}
	
	
	public PageUtils(List<?> list, int total,long money) {
		this.rows = list;
		this.total = total;
		this.money =money;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

	public long getMoney() {
		return money;
	}

	public void setMoney(long money) {
		this.money = money;
	}

	public List<?> getProws() {
		return prows;
	}

	public void setProws(List<?> prows) {
		this.prows = prows;
	}
	

   
	
	

}
